package org.way.iam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@TableName("sys_user")
public class SysUserEntity implements Serializable {

    private static final long serialVersionUID = -77177076272632762L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 员工编号
     */
    private String userNo;
    /**
     * 账号
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 姓名
     */
    private String realName;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 电话
     */
    private String mobile;
    /**
     * 用户性别: [1=男, 2=女]
     */
    private Integer sex;
    /**
     * 是否禁用: [0=否, 1=是]
     */
    private Integer isDisable;

}

